package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.dto.business.BusinessQueryDTO;
import com.qk.dto.business.UpdateBusinessInfoDTO;
import com.qk.entity.Business;
import com.qk.vo.BusinessVO;

public interface BusinessService extends IService<Business> {

    PageResult<BusinessDO> selectPage(BusinessQueryDTO dto);

    void addBusiness(BusinessDTO dto);

    BusinessVO getBusinessInfoById(Integer id);

    void updateBusinessInfoById(UpdateBusinessInfoDTO dto);

    void back(Integer id);

    PageResult<BusinessDO> selectBusinessPoolPage(BusinessPoolDTO dto);

    void convertToCustomer(Integer id);
}
